package src.zhuzi.spring.ioc.base;

import org.springframework.stereotype.Component;

@Component
public class Knife implements Weapon {
	@Override
	public void attack() {
		System.out.println("挥舞匕首刺向敌人!");
	}

}